package com.example.bnuzzu.entity;

import com.baomidou.mybatisplus.annotation.IdType;

import java.time.LocalDateTime;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author BNUZZU
 * @since 2021-04-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Houseinfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "HouseID", type = IdType.AUTO)
    private Integer houseid;

    @TableField("HouseName")
    private String housename;

    @TableField("UserID")
    private Integer userid;

    @TableField("CatgoryID")
    private Integer catgoryid;

    @TableField("Address")
    private String address;

    @TableField("Region")
    private String region;

    @TableField("RegionID")
    private String regionid;

    @TableField("Price")
    private Double price;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime storetime;

    @TableField("Description")
    private String description;

    @TableField("HouseState")
    private Integer housestate;

    @TableField("Limited")
    private Integer limited;

    @TableField("Deleted")
    @TableLogic
    private Integer deleted;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updatetime;


}
